home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Texteditors / Origami / Sources / doc / msg2MS.awk < prev    next >
Text File  |  1996-09-26  |  474b  |  21 lines

  1. BEGIN {
  2.   #{{{}}}
  3. #  {{{  print auto-gen tag
  4.   printf(".\\%c generated automatically, containing the OCL message table\n",34)
  5. #  }}}
  6.   printf(".ne 6\n")
  7.   printf(".TS\n")
  8.   printf("center tab(@);\n")
  9.   printf("l l.\n")
  10. }
  11. /^ *RC-COMPRESSION-DATA *$/ { skip=1 }
  12. skip!=1 && $1 !~ /^((#)|((STR)|(MSG)_.*))/ {
  13.    name=$1
  14.    while ((name!="") && (substr(name,length(name),1)==" "))
  15.       name=substr(name,1,length(name)-1)
  16.   print("\\fB"name"\\fP@"$3)
  17. }
  18. END {
  19.   printf(".TE\n")
  20. }
  21.